﻿using System;
using System.Collections.Generic;
using System.Text;
using Manager.App_Code.DTO;
using System.Data;
namespace Manager.App_Code.IDAL
{
    interface IKhachHang
    {
        List<KhachHangDTO> GetlistKhachHang();

        KhachHangDTO GetKhachHangByID(string MaKH);

        int GetMaxMaKhach();

        List<KhachHangDTO> GetAllKhachHangByMaQuanHuyen(string MaQuanHuyen);

        List<KhachHangDTO> GetAllKhachHangByNgayTao(DateTime TuNgay,DateTime DenNgay);


        List<KhachHangDTO> GetAllKhachHangByMaNhomKhach(string MaNhomKhach);

        bool InsertKhachHang(KhachHangDTO khachhang);

        bool UpdateKhachHang(KhachHangDTO khachhang);

        bool DeleteKhachHang(KhachHangDTO khachhang);

        KhachHangDTO ConvertObjectDataRowToKhachHangDTO(DataRow dr);
    }
}
